package com.gift.dao;

import com.gift.pojo.Games;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GamesMapper {
    int deleteByPrimaryKey(Integer gid);

    int insert(Games record);

    int insertSelective(Games record);

    Games selectByPrimaryKey(Integer gid);

    int updateByPrimaryKeySelective(Games record);

    int updateByPrimaryKey(Games record);


    List<Games> getAll();


    int deleteByPrimaryKeyList(@Param("ids") List<Integer> deleteIdList);


    List<Games> getAllBypr(@Param("raa") int raa,@Param("rows") int rows);
    int getCountAll();

}